<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * UserLoginLog
 *
 * @ORM\Table(name="User_Login_Log")
 * @ORM\Entity
 */
class UserLoginLog
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="userAccount", type="string", length=50)
     */
    private $userAccount;

    /**
     * @var int
     *
     * @ORM\Column(name="loginTime", type="integer")
     */
    private $loginTime;

    /**
     * @var string
     *
     * @ORM\Column(name="loginIp", type="string", length=20)
     */
    private $loginIp;

    /**
     * @var string
     *
     * @ORM\Column(name="loginRequest", type="text")
     */
    private $loginRequest;

    /**
     * @var string
     *
     * @ORM\Column(name="userAgent", type="text")
     */
    private $userAgent;

    /**
     * @var int
     *
     * @ORM\Column(name="passwordError", type="integer")
     */
    private $passwordError;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set userAccount
     *
     * @param integer $userAccount
     *
     * @return UserLoginLog
     */
    public function setUserAccount($userAccount)
    {
        $this->userAccount = $userAccount;

        return $this;
    }

    /**
     * Get userAccount
     *
     * @return int
     */
    public function getUserAccount()
    {
        return $this->userAccount;
    }

    /**
     * Set loginTime
     *
     * @param integer $loginTime
     *
     * @return UserLoginLog
     */
    public function setLoginTime($loginTime)
    {
        $this->loginTime = $loginTime;

        return $this;
    }

    /**
     * Get loginTime
     *
     * @return int
     */
    public function getLoginTime()
    {
        return $this->loginTime;
    }

    /**
     * Set loginIp
     *
     * @param string $loginIp
     *
     * @return UserLoginLog
     */
    public function setLoginIp($loginIp)
    {
        $this->loginIp = $loginIp;

        return $this;
    }

    /**
     * Get loginIp
     *
     * @return string
     */
    public function getLoginIp()
    {
        return $this->loginIp;
    }

    /**
     * Set loginRequest
     *
     * @param string $loginRequest
     *
     * @return UserLoginLog
     */
    public function setLoginRequest($loginRequest)
    {
        $this->loginRequest = $loginRequest;

        return $this;
    }

    /**
     * Get loginRequest
     *
     * @return string
     */
    public function getLoginRequest()
    {
        return $this->loginRequest;
    }

    /**
     * Set userAgent
     *
     * @param string $userAgent
     *
     * @return UserLoginLog
     */
    public function setUserAgent($userAgent)
    {
        $this->userAgent = $userAgent;

        return $this;
    }

    /**
     * Get userAgent
     *
     * @return string
     */
    public function getUserAgent()
    {
        return $this->userAgent;
    }

    /**
     * Set passwordError
     *
     * @param integer $passwordError
     *
     * @return UserLoginLog
     */
    public function setPasswordError($passwordError)
    {
        $this->passwordError = $passwordError;

        return $this;
    }

    /**
     * Get passwordError
     *
     * @return int
     */
    public function getPasswordError()
    {
        return $this->passwordError;
    }
}
